From: Florian Müllner Date: Sat, 20 Jan 2024 23:12:18 +0000 (+0100) Subject: build: Remove dummy gi-docgen dependency X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~281^2~2^2~110 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=569293fad69550b4b2aeaae9cda4b7da70881afc;p=gnome-shell.git build: Remove dummy gi-docgen dependency Instead, add a provide to the wrap that allows it to be pulled in by the `find_program('gi-docgen')` call. Part-of: --- diff --git a/meson.build b/meson.build index b2b4d3735..95ead7b93 100644 --- a/meson.build +++ b/meson.build @@ -94,11 +94,6 @@ x11_dep = dependency('x11') schemas_dep = dependency('gsettings-desktop-schemas', version: schemas_req) gnome_desktop_dep = dependency('gnome-desktop-4', version: gnome_desktop_req) -gidocgen_dep = dependency('gi-docgen', - version: '>= 2021.1', - fallback: ['gi-docgen', 'dummy_dep'], - required: get_option('gtk_doc')) - nm_deps = [] if get_option('networkmanager') nm_deps += dependency('libnm', version: nm_req) diff --git a/subprojects/gi-docgen.wrap b/subprojects/gi-docgen.wrap index 98cd92118..ccfa14eda 100644 --- a/subprojects/gi-docgen.wrap +++ b/subprojects/gi-docgen.wrap @@ -4,3 +4,6 @@ url=https://gitlab.gnome.org/GNOME/gi-docgen.git push-url=ssh://git@gitlab.gnome.org:GNOME/gi-docgen.git revision=main depth=1 + +[provide] +program_names = gi-docgen